//
//  PictureFieldController.h
//  MClient
//
//  Created by  史正烨 on 09-11-2.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MCTableViewController.h"
#import "MCControl.h"

@interface FileListViewController : MCTableViewController 
<UIActionSheetDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate,UITabBarDelegate> {
	NSMutableDictionary *fieldData;
	MCControl *valueField;
	NSMutableDictionary *field;	
	bool isViewMode;
	NSMutableArray *fileArray;
	NSString *cacheFile;
	NSString *tempLocation;
	NSMutableArray *fileArrayTemp;
	NSInputStream *fileData;
	NSString *operateFlag;
	int actionSheetFlag;
	
	BOOL _oldToolBarHidden;
}

@property (nonatomic,retain) NSMutableDictionary *fieldData;
@property (nonatomic,retain) MCControl *valueField;
@property (nonatomic,retain) NSMutableDictionary *field;
@property (nonatomic) bool isViewMode;
@property (nonatomic,retain) NSString *cacheFile;
@property (nonatomic,retain) NSInputStream *fileData;
@property (nonatomic,retain) NSString *operateFlag;

- (void)deleteFile:(int)row ;
- (void)getUploadFileName;
- (void) viewFileContent: (int)row;
- (void) downloadFromServer: (int)row;
- (void)addOtherTabBarItem: (NSMutableArray *)tabBarItems;

@end
